#ifndef FILETRANSFAREWINDOW_H_
#define FILETRANSFAREWINDOW_H_

#include <wx/wx.h>
#include <vector>
#include "../../core/events/FileTransfareEvent.h"

namespace Impp
{

class FileTransfareInfoPanel : public wxPanel
{
private:
	ActionId id;
	wxStaticText* info;
	wxButton* btAccept;
	wxButton* btCancle;
	
public:
	FileTransfareInfoPanel(wxWindow* parent, const ActionId & id);
	virtual ~FileTransfareInfoPanel();
	
	void onButton(wxCommandEvent & event);

private:
	DECLARE_EVENT_TABLE()
	
};


class FileTransfareWindow : public wxFrame
{
private:
	std::vector<FileTransfareInfoPanel*> transfares;
	wxBoxSizer* sizer;
	
public:
	FileTransfareWindow(wxFrame* parent);
	virtual ~FileTransfareWindow();
	
	void addFileTransfareInfo(FileTransfareEvent & event);
};

}

#endif /*FILETRANSFAREWINDOW_H_*/
